//
//  WWObserverModel.h
//  ObjectCProject
//
//  Created by lvfeijun on 2022/12/8.
//

#import <Foundation/Foundation.h>
#import "WWNotification.h"

NS_ASSUME_NONNULL_BEGIN

typedef void(^WWNotificationBlock)(WWNotification *note);

@interface WWObserverModel : NSObject

@property(nonatomic,strong)id observer;//观察者对象

@property(nonatomic,assign)SEL selector;//执行的方法

@property(nonatomic,copy)NSString *notificationName;//通知名字

@property(nonatomic,strong)id object;//携带参数

@property(nonatomic,strong)NSOperationQueue *operationQueue;//队列

@property(nonatomic,copy) WWNotificationBlock block;//回调

@end

NS_ASSUME_NONNULL_END
